Class Payment_webmoney

Description

webmoney payment system class

Located in /include/systems/classes/webmoney.php (line 11)

Payment_Data_Kipper
   |
   --Payment_webmoney
Method Summary
Payment_webmoney Payment_webmoney (int $mode, bool $debug)
bool checkPayment ([... $merchant_data = ""])
mixed doPayment ()
Variables
Methods
Constructor Payment_webmoney (line 63)

Standard constructor. Nothing should be changed here.

Payment_webmoney Payment_webmoney (int $mode, bool $debug)
  • int $mode: Mode of class funtioning
  • bool $debug: Debug mode
checkPayment (line 153)

Checks the incoming data to be set correctly in accord with the parameters set.

  • return: true- in case all the parameters are set correctly and the payment was successfully processed, false - in case parameters are set incorrectly or payment failed.
  • access: public
bool checkPayment ([... $merchant_data = ""])
  • ... $merchant_data: Parameters enumeration. Transfer by link.
doPayment (line 124)

Method used for sending data to the server of Payment System.

According to the type of Payment System there is either redirect to the site of Payment System(POST), or the URL is put in the heading.

  • return: In case when all the parameters were ser correctly, nothing will be returned, there will be redirect, otherwise notification will be generated and false will be returned
  • access: public
mixed doPayment ()

Inherited Methods

Inherited From Payment_Data_Kipper

Payment_Data_Kipper::Payment_Data_Kipper()
Payment_Data_Kipper::fieldExist()
Payment_Data_Kipper::formMessage()
Payment_Data_Kipper::getField()
Payment_Data_Kipper::getFields()
Payment_Data_Kipper::isRequired()
Payment_Data_Kipper::makeFields()
Payment_Data_Kipper::makeOptional()
Payment_Data_Kipper::makeOptionalField()
Payment_Data_Kipper::makeRequired()
Payment_Data_Kipper::makeRequiredField()
Payment_Data_Kipper::set()
Payment_Data_Kipper::setFrom()

Documentation generated on Thu, 04 Sep 2008 16:15:33 +0400 by phpDocumentor 1.3.0RC3